public class Dog extends Animal
{
    int FootNumber;
    public Dog(int FootNumber,String name)
    {
        super("中华田园犬",50);
        this.FootNumber=FootNumber;
    }
    public void ShowInfo()
    {
        System.out.println("名称:" + name + "重量:" + weight + "脚数" + FootNumber + "可以" + eat + "和"+ sleep);
    }
}
